/* C.Strucmp: compare two strings, treating all letters as upper case */

#include <ctype.h>
#include "utils.h"

int strucmp (const char *s, const char *t)
{

        for ( ; toupper(*s) == toupper(*t); ++s, ++t )
                if ( *s == '\0' )
                        return(0);

        return (toupper(*s) - toupper(*t));
}

